package com.jianguozh.difs.support.service.component.file.core.client.db;

import com.jianguozh.difs.support.service.component.file.core.client.DefaultFileClientSetting;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.URL;

import javax.validation.constraints.NotEmpty;

/**
 * 数据库文件存储器客户端配置
 *
 * @author hanrs
 * @email 4076130@qq.com
 * @since 2022/7/4 16:09
 */
@Data
@NoArgsConstructor
public class DBFileClientSetting extends DefaultFileClientSetting {

    /**
     * 自定义域名
     */
    @NotEmpty(message = "domain 不能为空")
    @URL(message = "domain 必须是 URL 格式")
    private String domain;

}
